<template>
  <div>
    <van-search
      v-model="value"
      show-action
      label="懂车帝"
      placeholder="搜你所想"
      @search="onSearch"
    >
      <template #action>
        <div
          style="
            background-color: darkorange;
            color: #000;
            border-radius: 5px;
            font-size: 12px;
          "
        >
          打开app
        </div>
      </template>
    </van-search>
    <van-tabs>
      <van-tab title="精选">
        <swipe></swipe>
      </van-tab>
      <van-tab title="本地">内容 2</van-tab>
      <van-tab title="新车">内容 3</van-tab>
      <van-tab title="原创">内容 4</van-tab>
    </van-tabs>
    <div>
      <img
        src="../../../img/7.21.png"
        alt=""
        style="width: 100%; height: 100%"
      />
    </div>
  </div>
</template>

<script setup>
import swipe from "@/components/swipe.vue";
</script>

<style lang="scss" scoped>
</style>